﻿<%@ Page Title="Sinh viên" Language="C#" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="true" CodeFile="Student.aspx.cs" Inherits="Student" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MenuPlaceHolder" Runat="Server">
     <%-- Menu --%>
    <asp:Menu ID="Menu1" runat="server" CssClass="MainMenu" Orientation="Horizontal" onmenuitemclick="Menu1_MenuItemClick">
        <Items>
            <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Trang chủ" Value="HomePage"></asp:MenuItem>
            <asp:MenuItem Text ="Thoát" Value="SignOut"></asp:MenuItem>
        </Items>
    </asp:Menu>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SidebarPlaceHolder" Runat="Server">
    <asp:Menu ID="Menu2" runat="server" CssClass="Sidebar">
        <Items>
            <asp:MenuItem NavigateUrl="~/News.aspx" Text="Thông báo" Value="News"></asp:MenuItem>
            <asp:MenuItem NavigateUrl="~/About.aspx" Text="Giới thiệu" Value="About"></asp:MenuItem>
            <asp:MenuItem NavigateUrl="~/Student.aspx" Text="Đánh giá giáo viên" Value="About"></asp:MenuItem>
        </Items>
    </asp:Menu>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">
    <h1 class="About_Title">Thời khóa biểu</h1>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" CssClass="Center" ForeColor="#333333" GridLines="None" OnRowCommand="GridView1_RowCommand">
    <AlternatingRowStyle BackColor="White" />
    <Columns>
        <asp:TemplateField HeaderText="STT">
                    <ItemTemplate>
                        <%#Container.DataItemIndex+1 %>
                    </ItemTemplate>
                </asp:TemplateField>
        <asp:BoundField DataField="MaMH" HeaderText="Mã MH" />
        <asp:BoundField DataField="TenMH" HeaderText="Môn học" />
        <asp:BoundField DataField="MSGV" HeaderText="Mã GV" />
        <asp:BoundField DataField="HoTen" HeaderText="Giáo viên" />
        
        <asp:BoundField DataField="HocKy" HeaderText="Học Kỳ" />
        
        <asp:CommandField SelectText="Đánh Giá" ShowSelectButton="True" ButtonType="Button">
        <ControlStyle ForeColor="Blue" />
        </asp:CommandField>
        
    </Columns>
    <EditRowStyle BackColor="#7C6F57" />
    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#E3EAEB" />
    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
    <SortedAscendingCellStyle BackColor="#F8FAFA" />
    <SortedAscendingHeaderStyle BackColor="#246B61" />
    <SortedDescendingCellStyle BackColor="#D4DFE1" />
    <SortedDescendingHeaderStyle BackColor="#15524A" />
</asp:GridView><br />
</asp:Content>

